#mysql
mkdir -p /opt/docker/mysql/data/db &&
mkdir -p /opt/docker/mysql/data/conf &&
mkdir -p /opt/docker/mysql/log &&
mkdir -p /opt/docker/mysql/tmp &&
mkdir -p /opt/docker/mysql/conf &&
cp ./mysql/my.cnf /opt/docker/mysql/conf/ &&
cp ./mysql/mysqld.cnf /opt/docker/mysql/conf/ &&
chmod -R 777 /opt/docker/mysql